package com.aos.erp.manager.mapper.sys;

import com.aos.erp.common.dao.mapper.SuperMapper;
import com.aos.erp.manager.model.sys.Department;
import com.aos.erp.manager.model.sys.vo.MenuVo;

import java.util.List;
import java.util.Map;

public interface DepartmentMapper extends SuperMapper<Department> {
    Department findByParams(Map<String, Object> params);

    int updateObject(Department department);

    List<MenuVo> selectTree(Map<String, Object> params);

    int updateObjectBatch(Department department);

    List<Department> selectByParams(Map<String, Object> params);

    Long insertObject(Department department);
}
